#! /bin/sh
echo export server_ip=127.0.0.1 >> ~/.bashrc
echo export mysql_port=3306 >> ~/.bashrc
echo export mysql_username=root >> ~/.bashrc
echo export mysql_password=root >> ~/.bashrc

echo export REDIS_PORT=8888 >> ~/.bashrc
echo export REDIS_PORT_KEY=spring.redis.port >> ~/.bashrc
echo export REDIS_HOST=127.0.0.1 >> ~/.bashrc
echo export REDIS_HOST_KEY=spring.redis.host >> ~/.bashrc


echo export zookeeper_port=50010 >> ~/.bashrc
echo export kafka_port=50011 >> ~/.bashrc

echo export mongo_uri=mongodb://127.0.0.1:27017 >> ~/.bashrc




# 立即生效.
source ~/.bashrc
